<!-- Copyright 2022 The Chromium Authors
     Use of this source code is governed by a BSD-style license that can be
     found in the LICENSE file. -->
<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <title>Files Internals</title>
  <script type="module" src="chrome://files-internals/index.js"></script>
</head>
<body>

<h2>Links</h2>
<ul>
<li><a href="chrome://drive-internals/">chrome://drive-internals/</a>
<li><a href="debug.json">debug.json</a>
</ul>

<h2>SMB</h2>
<div style="display: flex; flex-direction: row">
<label>
  <b>Enable verbose logging</b>
<input type="checkbox" id="smb-verbose-logging-toggle">
</label>
<span style="flex: 3 0px"><b>WARNING:</b> Enabling this option can cause the
  names of files and directories on SMB shares to be recorded in ChromeOS system
  logs, which may be uploaded to Google in ChromeOS feedback reports. This
  option should only be enabled for detailed debugging purposes and should be
  disabled as soon as debugging is complete.

  <p><i>You must logout / login, or remove / re-add the share after toggling
    this option.</i></p>
</span>
</div>

<h2>Office file handlers</h2>
<p>Office setup complete?: <span id="office-setup-complete-status"></span></p>
<p>Move confirmation shown for Drive?: <span id="move-confirmation-shown-for-drive-status"></span></p>
<p>Move confirmation shown for OneDrive?: <span id="move-confirmation-shown-for-onedrive-status"></span></p>
<button id="clear-office-setup-complete">Clear Office setup complete</button>
<p>Always move files to Drive?: <span id="office-always-move-to-drive-status"></span></p>
<button id="clear-office-always-move-to-drive">Clear always move to drive preference</button>
<p>Always move files to OneDrive?: <span id="office-always-move-to-onedrive-status"></span></p>
<button id="clear-office-always-move-to-onedrive">Clear always move to OneDrive preference</button>

</body>
</html>
